package com.csi.okr.mobile.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 基础代码类型表 实体类
 */
@Entity
@Table(name = "T_OKR_BASECODE_TYPE", schema = "PSGIS")
public class TOkrBasecodeType implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String basecode;
	private String codeTypeName;
	private String declare;

	public TOkrBasecodeType() {
	}

	public TOkrBasecodeType(String basecode) {
		this.basecode = basecode;
	}

	public TOkrBasecodeType(String basecode, String codeTypeName, String declare) {
		this.basecode = basecode;
		this.codeTypeName = codeTypeName;
		this.declare = declare;
	}

	@Id

	@Column(name = "BASECODE", unique = true, nullable = false, length = 2)
	public String getBasecode() {
		return this.basecode;
	}

	public void setBasecode(String basecode) {
		this.basecode = basecode;
	}

	@Column(name = "CODE_TYPE_NAME", length = 32)
	public String getCodeTypeName() {
		return this.codeTypeName;
	}

	public void setCodeTypeName(String codeTypeName) {
		this.codeTypeName = codeTypeName;
	}

	@Column(name = "DECLARE", length = 256)
	public String getDeclare() {
		return this.declare;
	}

	public void setDeclare(String declare) {
		this.declare = declare;
	}

}
